# include <stdio.h>
# include <math.h>
int main()
{
	float c,s,ss,v,vv,r,h,pi=3.141526;
	scanf("%f,%f",&r,&h);
	c=2*pi*r;
	s=pi*pow(r,2);
	ss=4*pi*pow(r,2);
	v=4/3*pi*pow(r,3);
	vv=s*h;
	printf("c=%1.2f\ns=%1.2f\nss=%1.2f\nv=%1.2f\nvv=%1.2f\n",c,s,ss,v,vv);
	return 0;
}

